package com.youth.youthservice.entity.vo.CourseVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author：CM
 * @Package：com.youth.youthservice.entity.vo.CourseVo
 * @Project：youth-college
 * @name：CourseCollectVo
 * @Date：2023/5/27 18:07
 * @Filename：CourseCollectVo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "课程收藏信息")
public class CourseCollectVo {

    @ApiModelProperty(value = "课程收藏id")
    private String id;

    @ApiModelProperty(value = "课程id")
    private String courseId;

    @ApiModelProperty(value = "课程封面图片路径")
    private String cover;

    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "浏览数量")
    private Long viewCount;

    @ApiModelProperty(value = "总课时")
    private Integer lessonNum;

    //是否置顶
    @ApiModelProperty(value = "是否置顶，1代表置顶，0代表不置顶")
    private Integer top;
}
